/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.wx.dao;

import com.jeesite.common.dao.CrudDao;
import com.jeesite.common.mybatis.annotation.MyBatisDao;
import com.jeesite.modules.wx.entity.WxUser;

import java.util.List;

/**
 * 用户表DAO接口
 * @author wangjianxin
 * @version 2018-09-27
 */
@MyBatisDao
public interface WxUserDao extends CrudDao<WxUser> {


    WxUser findByOpenId(String openId);

    List<WxUser> treeData(WxUser wxUser);

    List<WxUser> treeDataForBuyActivity(String activityId);

}